package com.twu.biblioteca;

/**
 * Created by theyes on 17/01/2014.
 */
public class User {

    public String libraryCardNumber;
    public String password;
    public String name;
    public String email;
    public String phoneNumber;

    public User(String u, String p, String n, String e, String ph)
    {
        libraryCardNumber =u;
        password =p;
        name = n;
        email = e;
        phoneNumber = ph;
    }

    @Override
    public String toString() {
        return "Hello " + name +
                "! Your details are as follows: " +
                " Password='" + password + '\'' +
                ", Library Card Number='" + libraryCardNumber + '\'' +
                ", Email='" + email + '\'' +
                ", Phone Number='" + phoneNumber + '\'';
    }
}
